<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title></title>
    <script type="text/javascript" charset="utf-8" src="__JS__/utf8-php/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__JS__/utf8-php/ueditor.all.js"> </script>
    <link type="text/css" rel="stylesheet" href="__CSS__/mousse.css">
    <link type="text/css" rel="stylesheet" href="__CSS__/bootstrap.min.css">
</head>
<body>
<div class="container"style="background-color: black">
    <div class="row"  style="padding: 1rem;">
        <div class="col-xs-12" >
            <a href="{:url('Index/index')}"  style="font-size: 1rem;color:white;">
                <span style="font-size: 1rem" class="glyphicon glyphicon-tint"></span>在线学习
            </a>

        </div>
    </div>
</div>

<div class="container">
    <div class="row"><br>
    <form  class="col-sm-12 col-xs-12 text-center" action="{:url('Index/lx')}" method="post">
        <div class="col-sm-12"><script id="container" name="content" type="text/plain" style="height:100px;position=fixed;"></script>
        <input type="submit" value="提交">
        </div>
    </form>
        <div class="col-sm-12 text-center">
    <script type="text/javascript">
        var ue = UE.getEditor('container');
    </script>
        </div>
    </div>
</div>
{volist name="user" id="val"}
<div class="container">
    <div class="row">
        <div class="col-sm-12" onclick="fun('{$val.cid}')">
    <div class="col-sm-1"><img  src="__IMAGES__/{$val.head_img}" style="width:50px;height:50px;background-size:100%;"/></div>
    <div class="col-sm-11">{$val.content}</div>
    <!--<a href="{:url('Index/rea')}?id={$val.cid}">回复</a><br>-->
        </div>
    </div>
</div>
{/volist}
<script>
    function fun(cid){
        window.location.href="{:url('Index/rea')}?id="+cid;
    }

</script>
</body>
</html>